package com.rgs.oauthauthenticationjdbc.demos.service;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false )
@NoArgsConstructor
public class User implements Serializable {
    private String name;
    private String mobile;
    private String username;
    private String password;
    private Boolean enabled;
    private Boolean accountNonExpired;
    private Boolean credentialsNonExpired;
    private Boolean accountNonLocked;

    private String id;
    private String createdBy;
    private Date createdTime;
    private String updatedBy;
    private Date updatedTime;
}